/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package rmi;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

/**
 *
 * @author VANDH
 */
public class CentToInch extends UnicastRemoteObject implements CentToInchInterface {

    public CentToInch() throws RemoteException {
        super();
    }

    @Override
    public float convert(float centimet) {
        float result = centimet / 2.54f;

        System.out.println("Your result : " + result);
        return result;
    }
}
